package cn.iocoder.yudao.module.english.controller.admin.student.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 学生分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class StudentPageReqVO extends PageParam {

    @Schema(description = "学生姓名", example = "芋艿")
    private String studentName;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "手机号")
    private String mobilePhone;

    @Schema(description = "昵称", example = "李四")
    private String nickname;

    @Schema(description = "状态(0：在校，1:不在校)", example = "2")
    private Integer status;

    @Schema(description = "截止日期")
    private LocalDate deadline;

    @Schema(description = "所属班级ID", example = "842")
    private Long classId;

    @Schema(description = "金币数量")
    private Integer goldCoins;

    @Schema(description = "学生登录密码（默认手机号后六位）")
    private String loginPassword;

    @Schema(description = "家长姓名", example = "赵六")
    private String parentName;

    @Schema(description = "家庭住址")
    private String homeAddress;

    @Schema(description = "家长联系方式")
    private String parentContact;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}